<?php

if (!defined('IN_XLP')) {
    exit('Access Denied!');
}
/*
 * 后台菜单配置文件-管理员
 */
return array(
    array('title' => '后台首页', 'url' => '', 'icon' => 'fa-home', 'short' => 'home', 'item' =>
        array(
            array(
                'title' => '后台首页',
                'url' => U('home/index'),
                'short' => 'home-index'
            ),
        )
    ),
    array('title' => '系统维护', 'url' => '', 'icon' => 'fa-wrench', 'short' => 'system', 'item' =>
        array(
            array(
                'title' => '编辑资料',
                'url' => U('my/edit'),
                'short' => 'my-edit'
            )
        )
    ),
    array('title' => '订单管理', 'url' => '', 'icon' => 'fa-truck', 'short' => 'order', 'item' =>
        array(
            array(
                'title' => '待处理订单',
                'url' => U('order/index', array('deal' => 'service')),
                'short' => 'order-index'
            ),
            array(
                'title' => '全部订单',
                'url' => U('order/index'),
                'short' => 'order-index'
            ),
        )
    ),
    array('title' => '商品管理', 'url' => '', 'icon' => 'fa-shopping-cart', 'short' => 'goods', 'item' =>
        array(
            array(
                'title' => '新增商品',
                'url' => U('goods/add'),
                'short' => 'goods-add'
            ),
            array(
                'title' => '低库存商品',
                'url' => U('goods/index', array('deal' => 'storage')),
                'short' => 'goods-index'
            ),
            array(
                'title' => '商品管理',
                'url' => U('goods/index'),
                'short' => 'goods-index'
            ),
        )
    ),
    array('title' => '机器管理', 'url' => '', 'icon' => 'fa-print', 'short' => 'print', 'item' =>
        array(
            array(
                'title' => '打印机管理',
                'url' => U('print/index'),
                'short' => 'print-index'
            ),
        )
    ),
);
